@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './dashboard.scss';
@import './dash_new.scss';
body {
    height: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

label {
    font-weight: 700;
}

html {
    height: 100%;
    box-sizing: border-box;
}

#app {
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.no-padding {
    padding: 0px !important;
}

.padding-content {
    padding: 4px 0;
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

div:focus {
    outline: none;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.pr-5 {
    padding-right: 5px;
}

.pl-5 {
    padding-left: 5px;
}

.block {
    display: block;
}

.pointer {
    cursor: pointer;
}

.inlineBlock {
    display: block;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}

aside {
    background: #eef1f6;
    padding: 8px 24px;
    margin-bottom: 20px;
    border-radius: 2px;
    display: block;
    line-height: 32px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: #2c3e50;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    a {
        color: #337ab7;
        cursor: pointer;
        &:hover {
            color: rgb(32, 160, 255);
        }
    }
}

//main-container全局样式
.app-container {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.components-container {
    margin: 30px 50px;
    position: relative;
}

.pagination-container {
    margin-top: 30px;
}

.text-center {
    text-align: center
}

.sub-navbar {
    height: 50px;
    line-height: 50px;
    position: relative;
    width: 100%;
    text-align: right;
    padding-right: 20px;
    transition: 600ms ease position;
    background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
    .subtitle {
        font-size: 20px;
        color: #fff;
    }
    &.draft {
        background: #d0d0d0;
    }
    &.deleted {
        background: #d0d0d0;
    }
}

.link-type,
.link-type:focus {
    color: #337ab7;
    cursor: pointer;
    &:hover {
        color: rgb(32, 160, 255);
    }
}

.filter-container {
    padding-bottom: 10px;
    .filter-item {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 10px;
    }
}

//refine vue-multiselect plugin
.multiselect {
    line-height: 16px;
}

.multiselect--active {
    z-index: 1000 !important;
}

.c-width-24 {
    width: 26%;
}

.c-height-33 {
    height: 33%;
    flex: none !important;
}

.c-height-26 {
    height: 26%;
    flex: none !important;
}

.c-width {
    width: 100%;
}

.c-height {
    height: 100%;
}

.c-dis-flex-row {
    display: flex;
    flex-direction: row;
}

.c-dis-flex-col {
    display: flex;
    flex-direction: column;
}

.c-cursor-pointer {
    cursor: pointer;
}

.c-flex {
    flex: 1;
}

.c-flex-wrap {
    flex-wrap: wrap;
}

.c-margin-r,
.c-margin-right {
    margin-right: 10px;
}

.c-margin-b,
.c-margin-bottom {
    margin-bottom: 10px;
}

.c-margin-t,
.c-margin-top {
    margin-top: 10px;
}

.c-margin-l,
.c-margin-left {
    margin-left: 10px;
}

.c-pos-rel {
    position: relative;
}

.c-pos-abs {
    position: absolute;
}

.c-hidden {
    overflow: hidden;
}

.c-scroll-y {
    overflow-y: auto;
}

//
.el-form {
    div[class^=el-col] {
        display: flex;
        align-items: center;
    }
    .el-form-item {
        display: inline-flex;
        align-items: center;
        //min-width: 300px;
        //overflow: hidden;
        .el-form-item__label {
            min-width: 100px !important;
        }
        .el-form-item__content {
            flex: 1;
            //overflow: hidden;
            display: flex;
            align-items: center;
            .el-input {
                flex: 1;
            }
        }
    }
    .el-button {
        display: inline-flex;
        align-items: center;
        height: 32px !important;
        &.el-button--default {
            color: #ffffff !important;
            background: #E6A23C !important;
            border-color: #E6A23C !important;
        }
    }
}

.com_table {}

.el-table .el-table__header-wrapper th,
.el-table .el-table__fixed-header-wrapper th {
    background-color: #d4dde5 !important;
}

.com_table_btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    .el-button.is-plain {
        color: #1890ff !important;
        background: rgba(#a1cdf7, 0.2) !important;
        border-color: #1890ff !important;
        font-weight: bold !important;
    }
}

.el-table,
.el-button--mini,
.el-pagination span:not([class*=suffix]),
.el-pagination button {
    font-size: 14px;
}

.el-table .el-table__header-wrapper th,
.el-table .el-table__fixed-header-wrapper th {
    font-size: 16px !important;
    padding: 12px 0 !important;
    font-weight: 500;
}

.el-table .fixed-width .el-button--mini {
    width: 30px !important;
    height: 30px;
    //border: 1px solid #1890ff;
    border-radius: 4px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    span {
        display: none;
    }
}

.el-table__cell {
    .el-button {
        &:nth-child(1) {
            color: #1890ff;
        }
        &:nth-child(2) {
            color: #F56C6C;
        }
    }
}

.el-range-editor.el-input__inner {
    flex: 1 !important;
}

.el-dialog__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    .el-dialog {
        border-radius: 24px !important;
        background: url("~@/assets/images/dialog_bg.png") no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        .el-dialog__headerbtn {
            top: 16px !important;
        }
        .el-popover__reference {
            .el-input__inner,
            .el-input__prefix {
                display: flex;
                align-items: center;
            }
        }
        .el-select,
        .el-date-editor,
        .el-input-number {
            flex: 1 !important;
        }
        .el-form-item__content {
            margin-left: 0 !important;
        }
        .el-dialog__headerbtn .el-dialog__close {
            font-size: 24px;
            color: #868686;
            font-weight: bold;
        }
        .el-dialog__title {
            color: #1890ff;
            font-size: 18px;
            font-weight: 500;
        }
        .el-dialog__body {
            background: #ffffff;
            flex: 1;
            overflow-y: auto;
            padding: 30px 60px;
            .el-form {
                display: flex;
                flex-wrap: wrap;
                .el-row {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                }
            }
            .el-col-24 {
                display: flex;
                align-items: center;
                .el-form-item {
                    width: 100%;
                    .el-form-item__label {
                        width: 140px !important;
                    }
                }
            }
            .el-col-12 {
                display: flex;
                align-items: center;
                .el-form-item {
                    width: 100%;
                    .el-form-item__label {
                        width: 140px !important;
                    }
                }
            }
        }
        .dialog-footer {
            display: flex;
            align-items: center;
            justify-content: center;
            .el-button {
                padding: 10px 30px !important;
            }
        }
    }
}

.el-tree-node__content {
    line-height: 30px;
    height: 30px;
}

.footer_btn_list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog_form_details {
    .el-form-item__content {
        min-height: 36px;
        line-height: 36px;
        -webkit-appearance: none;
        background-color: #f4f4f4;
        background-image: none;
        border-radius: 4px;
        border: 1px solid #DCDFE6;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: #606266;
        padding: 0 15px;
        cursor: no-drop;
    }
}

.text_span_0 {
    color: #2390ff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 3px;
}

.text_span_1 {
    color: #ffb508;
    font-size: 16px;
    font-weight: bold;
    margin: 0 3px;
}

.text_span_2 {
    color: #4ee25f;
    font-size: 16px;
    font-weight: bold;
    margin: 0 3px;
}
.text_span_3 {
  color: #fbce90;
  font-size: 16px;
  font-weight: bold;
  margin: 0 3px;
}
